package com.ych.service;

import com.ych.beans.Message;
import com.ych.beans.UserManager;

import javax.servlet.http.HttpSession;

public interface UserService {
    Message selectUser(Integer pageNo, String key, Integer userId);

    Message addUser(UserManager userManager);

    Message deleteUser(Integer id);

    Message login(UserManager userManager, HttpSession session);
}
